Data transfer control method, and peripheral circuit, data processor and data processing system for the method

ABSTRACT

A memory  1  performs its internal operation in response to access requests ( 200, 201  and  202 ) of a CPU  2  in synchronism with the oscillated output of a self-excited oscillator  102  incorporated therein and according to said access requests, and outputs a response request  103  for said access requests to said CPU in synchronism with its internal operation. The CPU performs the access requests for the memory, and fetches data from the outside or outputs the data to the outside in response to and in synchronism with the response request  103  from the accessed memory and according to the kinds of said access requests.

BACKGROUND OF THE INVENTION

The present invention relates to a method of controlling the transfer ofa variety of information such as instruction information or datainformation between a memory or a peripheral circuit and a dataprocessor, and a peripheral circuit, a data processor and a dataprocessing system using the method, and, more particularly, to atechnique which is especially effective if applied to the controltechnique of the data transfer between the data processor and a memory.Incidentally, the data processor in the present Specification will coverthe general concept of a CPU (i.e., Central Processing Unit), amicroprocessor, a microcomputer, a single-chip microcomputer, adigital-signal processor or a direct memory access controller.

SUMMARY OF THE INVENTION

Some RISC processors of the prior art include one or more cache memoriesin a chip from the point of view of performance, cost, manufactureprocess and technical level of the LSI. Such a CPU is connected with anumber of memories and input/output) circuits on a circuit board toconstruct a system. It is usual to use an operation clock (or systemclock) as a reference to the operation of the system. Usually, theperipheral circuits such as the memories and the input/output circuitsto constitute the system are individually given different functions andcharacteristics to have individually different operating procedures,response times or operating speeds. It is needless to say that the CPUinterfaces owned by the memories and the input/output circuits arefrequently different from one another although they have some similarityin the functions or timings.

As to the differences in such functions, operating speeds and interfacespecifications, memory controllers are used for the memories, and I/Ocontrollers are used for the input/output circuits. These controllershave functions, as roughly divided into the following two points.

The first function is to inform the memories and the input/outputcircuits of which memory or input/output circuit is selected by the CPU,and initiates a data transfer. This function can be regarded as theso-called “chip selection” or “chip enable control”. For example, logicoperations between the signals indicating the kinds of addressing andaccess are carried out to produce pulses or level signals by using anoperation clock or the like thereby to activate only the memory selectedor the signal connected with the input/output circuit.

The second function is to count the operation clocks by a counterthereby to produce a signal demanding the CPU for an extension of theaccess period at the unit of the operation clock for the wait or readyoperation. Under to the rule of confirming the signal for each operationclock by the CPU, the difference in the timing or the operation speedbetween the CPU and the memory or the peripheral circuit is absorbed torealize the data transfer without fail. This function is the so-called“wait state control function”.

However, we have revealed that the aforementioned wait state function bythe controller has the following problems.

(1) Since the duration of the data transfer time to be extended by thewait state is always determined at the operation clock unit of thesystem, it is impossible to sufficiently extract the performanceintrinsic to the memory or peripheral circuit. Moreover, it issubstantially impossible to design the system by using the performance,which is based upon the design data submitted by the maker/seller as tothe memory or the input/output circuit, in the limit state. Since acertain operation margin is considered, a data transfer involves idletime in most cases so that the data transfer efficiency on the data busdecreases. This problem applies not only to the case in which the systemis constructed on a circuit board, i.e., in which the connectionsbetween the memories or the input/output circuits and the CPU are madethrough the buses on the board, but also to the case in which the CPUand the memories are formed over a common semiconductor chip.Specifically, if an optimum design were to made considering the electriccharacteristics and the arrangement of circuit elements, the controllersand the memories could effect the data transfer efficiently to theoperation clock of the controllers. In the actual circuit design,however, a delicate timing has to be made in the chip although not easy,while considering the characteristics of the individual logic circuitblocks.

(2) The aforementioned wait state control takes serious troubles becausethe designer has to design the system for the individual memories orinput/output circuits, if in plurality, due to the differences in thefunctions (including the protocol) and performances.

(3) The circuit portions required for the wait state control have tocover the sets of memories and input/output circuits, thus causingdifficulties in the high speed, the small size and the low prices suchas the complicatedness of the system, the increase in the part number orthe increase in the load upon the signal line.

(4) As has been described in the aforementioned problem (1), the waitstate control cannot sufficiently extract the performances intrinsic tothe memories and the peripheral circuits so that it limits the speed-upof the operations. In order to eliminate this limit, therefore, all orthe highly efficient memories or input/output circuits could beconnected without the wait state control. If, however, the operationclock of the controller is suppressed according to the characteristicssuch as the operation speed of the memories and the input/outputcircuits, the controller such as the CPU has a tendency to have itsoperation clock speeded up to drop the value of the system. If, on thecontrary, a fast memory or input/output circuit is to be used inconformity to the operation clock of the controller, an extremely highrise is caused in the system price.

Thus, the system of the prior art for producing the timing of the datatransfer between the CPU and the peripheral circuit from the operationclock of the CPU or the system cannot realize the data transfer whichcan sufficiently exploit the intrinsic performance of the peripheralcircuit such as the memory. Specifically, we have thought it difficultto desire a basic development to a high speed if the CPU and theperipheral circuit are connected by the wait state control functionwhich stresses the reliable operation by returning the wait signal tothe CPU at a timing of integer times as high as that of the operationclock on the basis of the characteristics of the peripheral circuit.

An object of the present invention is to provide a technique which isenabled to effect a data transfer by sufficiently exhibiting theintrinsic characteristics owned by a peripheral circuit such as amemory.

Another object of the present invention is to provide a peripheralcircuit for producing a timing of the data transfer according to its owncharacteristics.

A further object of the present invention is to provide a data processorcapable of transferring data efficiently with such peripheral circuit.

A further object of the present invention is to provide a dataprocessing system capable of transferring data fast with the dataprocessor by sufficiently exhibiting the intrinsic characteristics ownedby the peripheral circuit such as the memory.

The aforementioned and other objects and novel features of the presentinvention will become apparent from the following description to be madewith reference to the accompanying drawings.

A representative of the invention to be disclosed herein will be brieflydescribed in the following.

Specifically, as represented in FIG. 1, a memory (1) acting as aperipheral circuit performs its internal operation in accordance withaccess requests (200, 201 and 202) from a CPU (2) exemplifying the dataprocessor, and in synchronism with the output signal of a self-excitedoscillator (102) incorporated therein; and outputs a response requests(103) to the data processor in synchronism with that internal operationin response to the access requests.

The data processor sends an access request to a desired peripheralcircuit; and transfers data to or from the peripheral circuit dependingon the type of the access request in synchronism with a response requestreceived from the peripheral circuit.

The control of the data transfer between the data processor and theperipheral circuit comprises the steps of sending an access request tothe peripheral circuit from the data processor; allowing the peripheralcircuit to perform its internal operation according to the accessrequest in synchronism with the output signal of a self-excitedoscillator incorporated therein; sending a response to the peripheralcircuit from the data processor in synchronism with its internaloperation in response to the access request; and transferring data to orfrom the data processor depending on the type of the access request insynchronism with said response request.

In order to realize the aforementioned means with the minimum number ofcircuits to be added to the construction of the existing data processoror peripheral circuit, the access requests can contain the information(200 and 201) for indicating that the peripheral circuit is selected asthe object to be accessed and the data transfer direction, and theresponse request can contain the signal (103) to be changed insynchronism with the internal operation of the peripheral circuit.

In order to construct the peripheral circuit having the aforementionedfunctions relatively simply, as representatively shown in FIG. 5, theperipheral circuit includes a cycle timing generator (1010) forproducing an access cycle signal (1013) of the internal operation inresponse to the access request from the data processor and on the basisof an output signal of the self-excited oscillator (102); an externalterminal (AC) for outputting the access cycle signal as the responserequest to the outside; and an internal timing generator (1011) forproducing an internal operation timing signal in synchronism with theaccess cycle signal (103).

In case such peripheral circuit is constructed as a burst readablememory (capable of reading a continuous data of a plurality of words),there may be added a counter (or burst counter) (105) for counting thenumber of continuous data read words from the memory cell array on thebasis of the change in the access cycle signal to stop the oscillationsof the self-excited oscillator when the counted result reaches apredetermined count value, as representatively shown in FIG. 6. At thistime, in order to set the number of continuous data read wordsprogrammably, the counter is equipped with a parameter register (1051)for latching the predetermined count value presettably from the outside,as representatively shown in FIG. 12. This parameter register can bepositioned such that in case the counter has storage stagescorresponding to its bit count, the memory stages are used as asubstantial parameter register in a presettable manner.

In order to transfer data at different transfer rates quickly andefficiently between the internal unit and the outside, the dataprocessor having the aforementioned functions is equipped, asrepresentatively shown in FIG. 8, with a buffer memory (206) whichincludes: a asynchronous port (2064) for writing/reading on the basis ofthe response request; and a synchronous port (2065) for writing/readingin synchronism with the internal operation clock. The synchronous portof the buffer memory is connected as the internal unit to an arithmeticunit or register, and the asynchronous port of the buffer memory isconnected with an input/output buffer circuit (205) to be interfacedwith the outside. At this time, in order that the data transferred fromthe peripheral circuit to the buffer memory may be quickly used for theoperation of an internal unit (204), the buffer memory may be equippedwith a counter circuit (2066) for counting the number of continuous readaccesses, which are sent to the peripheral circuit from the accesscontrol circuit, in terms of the number of changes in the responserequest, so that the resultant detection result may be fed as theinformation meaning the complete of the read data acquisition by saidaccess request (i.e., the output information of an AND gate 2063R5, asrepresentatively shown in FIG. 9) to the central processing unit. Thebuffer memory should not be limited to a perfect dual port but may beused as an apparent dual port for operating a unit-port buffer memory ina time sharing manner.

When the data processor is interfaced with a plurality of peripheralcircuits of different kinds, one input terminal of the data processorfor response request is connected through an OR gate or a wired OR sothat it may be shared among the output terminals of each peripheralcircuit for the response request, as representatively shown in FIG. 14.

In order that mutually identical peripheral circuits having a multi-bitinput/output function of ½n bits for the number of bits of the data busmay be interfaced with the data processor, the data processor may beprovided with a plurality of sets of buffer memories (206U and 206L)each having: an asynchronous port for writing/reading in response to theresponse request; and a synchronous port for writing/reading insynchronism with the internal operation clock, as representatively shownin FIG. 13.

According to the means described above, the peripheral circuit isoperated synchronously with the output signal of the self-excitedoscillator intrinsic thereto but asynchronously from the operation clocksignal of the data processor requesting access to the peripheralcircuit. In this relation, the mutual interface of data is realized bythe mutually equivalent access requests and the response requests forthe former. As a result, the time period for the series of datatransfer, which as been limited to integer times as high as that of thefundamental operation clock of the data processor of the prior art, isdetermined according to the clock cycle of the response requestdepending upon the intrinsic self-excited oscillation frequency which isproduced according to the characteristics such as the operation speed ofthe peripheral circuit such as the memory. As a result, the datatransfer can be easily realized for the individual characteristic limittime periods of the peripheral circuit and the data processor. In otherwords, it is possible to reduce the spare time period which has beenestablished for synchronization with the operation clock of the dataprocessor, as has been troubled in the prior art. Moreover, the waitstate control circuit for the interface between the data processor andeach peripheral circuit can be dispensed with to simplify the circuitconnecting means.

The data processor equipped on-chip with the buffer memory to beinterfaced with the peripheral circuit can internally absorb thedifference in the data transfer rate between the internal unit of thedata processor and the outside to require no sequential wait time forreading/writing the data in response to the access request.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a system block diagram showing a CPU according to oneembodiment of a data processor of the present invention and a memoryaccording to one embodiment of a peripheral circuit of the presentinvention;

FIG. 2 is a timing chart showing one example of data transfer operationsin the system of FIG. 1;

FIG. 3 is a block diagram showing a system making a data transferpossible through a wait state control unit with reference to theembodiment of FIG. 1;

FIG. 4 is a timing chart of the data transferring operations of FIG. 3;

FIG. 5 is a block diagram showing one embodiment of the memory of FIG.1;

FIG. 6 is a circuit diagram showing one detailed example of a cycletiming generator of FIG. 5;

FIG. 7 is a operation timing chart of one example of the memory of FIG.6;

FIG. 8 is a block diagram of one detailed embodiment of the CPU of FIG.1;

FIG. 9 is a block diagram of one detailed example of a circuit portionrelating to a read buffer in the buffer control circuit of FIG. 8;

FIG. 10 is a block diagram of one detailed example of a circuit portionrelating to a write buffer in the buffer control circuit of FIG. 8;

FIG. 11 is a block diagram showing one embodiment of a CPU having abuffer memory of the type sharing a read buffer and a write buffer;

FIG. 12 is a block diagram of one embodiment of a memory in which aburst counter is equipped with a parameter register;

FIG. 13 is a block diagram of one embodiment when identical memorieshaving a function to input/output multiple bits of ½n times, forexample, as large as the bits of a data but are interfaced with the CPU;

FIG. 14 is a block diagram of one embodiment of the case in whichmemories having different characteristics/functions are mixed toconstruct a system; and

FIG. 15 is an overall block diagram of one embodiment of a dataprocessing system.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 shows a CPU according to one embodiment of a data processor ofthe present invention and a memory according to one embodiment of aperipheral circuit of the present invention such that the CPU and thememory are connected.

A memory 1, as shown in FIG. 1, is formed on a semiconductor substrateand includes a memory cell array 100 and an access cycle control unit101, as representatively illustrated. In response to access requests(200, 201 and 202) from a CPU 2, the memory 1 performs read operationsor write operations in synchronism with an oscillation output signal ofa self-excited oscillator 102 incorporated therein, and outputs aresponse request (103) responding to the access requests to the CPU 2 insynchronism with its internal operations.

The CPU 2, as shown in FIG. 1, is formed on a semiconductor substrateand includes an arithmetic circuit 204; a buffer memory 206 having itsone port coupled to the arithmetic circuit 204; an input/output buffercircuit 205 coupled to the other port of the buffer memory 206 and anexternal data bus 211; an access control circuit 207 for sending accessrequests to the external memory 1 and other peripheral circuits (notshown); and a central control unit 208 for controlling the entireoperations of the central processing unit such as an instructionexecuting sequence control circuit or an interrupt control circuit. TheCPU 2 sends the access requests (200, 201 and 202) to a desiredperipheral circuit such as the memory 1 and receives the responserequest (103) of the peripheral circuit such as the memory 1 to latchthe data in the buffer memory 206 from the outside or to output the datafrom the buffer memory 206 to the outside in synchronism with theresponse request and according to the kind of said access request. Thememory 1 is operated in synchronism with the output signal of its ownself-excited cillator 102. On the other hand, the CPU 2 is operated insynchronism with an operation clock 209 of the system.

In case the CPU 2 gains access to the memory 1, the start of this accessis transmitted to the memory 1 by the access start signal 200. Thisaccess start signal 200 is deemed as a signal equivalent to a chipselecting signal by the memory. According to the present embodiment, theaccess control circuit 207 has a function as a chip selectingcontroller, although not especially limited thereto. This function canbe replaced by a decoder for decoding several more significant bits ofthe address signal outputted from the CPU 2 to the outside, to producethe chip selecting signal. In any case, reference is made to both anaddress assigned to the peripheral circuit to be accessed and an addressto be made in the CPU 2. In this sense, an access request to theperipheral circuit such as the memory, such as an instruction of theaccess start is sent directly or indirectly by a circuit portion formaking the access address, and the access control circuit is understoodto contain such circuit portion.

The direction of data transfer is instructed by the read/ write signal201. The “read” means the data transfer from the peripheral circuit suchas the memory 1 to the CPU 2, and the “write” means the data transferfrom the CPU 2 to the peripheral circuit such as the memory 1. Accordingto the present embodiment, the location of the data in the peripheralcircuit, as requested for access, is designated by the address signalfed to an address bus 210. The number of words for data transfer isinstructed by the instruction signal (i.e., single/ burst signal) 202 ina single mode/burst mode. Without the burst mode or the continuous datatransfer mode, the single/ burst signal 202 can be eliminated.

Upon detecting the access request in terms of the access start signal200, the access cycle control unit 101 produces the internal accesscycle signal on the basis of the output signal of the self-excitedoscillator 102. Inside of the memory 1, the read or write operationsinstructed by the read/ write control signal 201 are performed insynchronism with the access cycle signal. Outside of the memory 1,moreover, this access cycle signal is outputted as the access clocksignal 103 to the CPU 2. This access clock signal 103 is a clock signalintrinsic to the memory 1 and is fed to the CPU 2 as the responserequest in response to the access request from the CPU 2.

FIG. 2 shows the relations between the data output of the memory 1 inthe read operation and the data output timing of the CPU 2 in the writeoperation, and the access clock signal 103. According to FIG. 2, wheninstructed to perform the read operation, the memory 1 outputs, thedesired data to the data bus 211 at a timing for ensuring a setup time(Trs)/a hold time (Trh) for the rising edge of the access clock signal(or the access cycle signal in the memory). That data is latched by theCPU 2 in the buffer memory 206 at the rising edge of the access clocksignal 103. In the writing operation, the CPU 2 outputs the data fromthe buffer memory 206 to the data bus 211 so as to ensure a setup time(Tws)/hold time (Twh) for the fall of the access clock signal 103. Thememory 1 latches that data at the falling edge of the access cyclesignal. Incidentally, the write operation can refer to the rise of theaccess clock signal 103.

According to the embodiment of FIG. 1, the access cycle control unit 101outputs a cycle complete signal 104 for informing the CPU 2 of thecomplete of the continuous data transfer in the burst mode. In theaccess control unit 101, the number for words transferred is counted bya burst counter 105 in terms of the access cycle signal equivalent tothe access clock signal 103 so that the count-up state is outputted asthe cycle complete signal 104. This cycle complete signal 104 may bereplaced by an identical function at the side of the CPU 2.Specifically, a burst counter for counting the access clock signal 103may be disposed at the side of the CPU 2.

FIG. 3 is a block diagram showing a system making a data transferpossible through a wait state control unit, in comparison with theforegoing embodiment, and FIG. 4 shows a data transfer timing of thesystem.

In case a CPU 400 is to transfer data to an external memory 401, asshown in FIG. 3, the start of this data transfer is noticed in terms ofan access start signal 403 to the memory 401 and a wait state controlunit 402. Upon reception of the access start signal 403, a read or writeoperation is started according to a read/ write signal 405 by aread/write control circuit 404. In synchronism with this, the wait statecontrol unit 402 also interprets the access start signal 403 and theread/ write signal 405 and starts the counting of a wait counter 408 toproduce a wait signal 407 for indicating an access complete on the basisof an operation clock 406 identical to that of the CPU 400. In thereading operation, the memory 401 can output the data to be read to adata bus 409 after a time period guaranteed by its maker/seller haselapsed. In the write operation, the memory 401 can latch the data ofthe data bus 409 outputted by the CPU 400, after the time periodguaranteed by its maker/seller has elapsed. The complete of the readoperation or write operation after lapse of the time period guaranteedby the maker/seller is usually transmitted to the CPU 400 in terms of achange of the wait signal 407 to a False in synchronism with theoperation clock 406 of the CPU 400 (or the wait signal is confirmed atthe CPU side in synchronism with the operation clock in case it is anasynchronous signal). If the wait signal is set in the read operation tothe false (or a low level) at a time t1, as shown in FIG. 4, the CPUreads the data from the data bus. If the wait signal is set in the writeoperation to the false (or the low level) at a time t2, the CPU confirmsthat the data to be written has been latched in the memory, and stopsthe outputting of the write data.

It is apparent from the timings of FIG. 4 that the locations (ortimings) of setting the wait signal to the false are usually differentbetween the read cycle and the write cycle. In the burst mode, moreover,the wait signal should naturally be cyclically produced in series oftransfer words, in which the interval of occurrence of a first word isdifferent from those of second and later words. As a result, the CPU 400completes a series of read or write cycles, when it confirms the changein the wait signal 407, to keep the access control circuit 410 in thestandby state till the next cycle starts. Moreover, a changing time, asindicated at Tdis in FIG. 4, is required when the read cycle and thewrite cycle in the identical operation mode are to be interchanged. Thisis because the wait signal is confirmed in synchronism with the clock.Thus, the data transfer making use of the wait signal has to take acomplicated control and an unnecessary time period.

The following operational effects can be obtained according to theembodiment thus far described.

(1) In the present embodiment shown in FIGS. 1 and 2, the locations ofstarting the production of the access cycle by the peripheral circuitsuch as the memory and the timings for updating the changes are usuallydifferent between the read cycle and the write cycle, but the CPU may bededicated to the inputting/outputting of data in accordance with thechange in the access clock signal 103 without considering any of thosecomplicated timings. In short, the data transfer at the complicatedtimings can be realized without the wait state control unit which hasbeen indispensable in the prior art. This realization naturally coversboth the single transfer and the burst transfer.

(2) Without the wait state control unit, the data transfer can beachieved by the access clock signal outputted from the peripheralcircuit such as the memory, to reduce the access cycle time period andimprove the bus using efficiency. Specifically, the peripheral circuitsuch as the memory is operated in synchronism with the output signaloscillated by its own self-excited oscillator 102 and asynchronously ofthe operation clock signal 209 of the CPU which sends an access requestto that peripheral circuit, so that the interface between their data isrealized the mutually equivalent access requests and the responserequests to the access requests. As a result, a series of data transfertime periods, which have been limited in the prior art to an integertimes as high as the fundamental operation clock of the data processorsuch as the CPU, can be determined according to the clock cycle of theresponse request depending upon the intrinsic self-excited oscillationfrequency which is produced according to the characteristics such as theoperating speed of the peripheral circuit such as the memory. As aresult, it is easy to realize the data transfer for the limit timeperiods of the individual characteristics of the peripheral circuit andthe CPU. In other words, it is possible to reduce the unnecessary timeperiod which has been consumed for synchronization with the operationclock of the CPU, as has been troubled in the prior art.

(3) The CPU 2 is equipped on the common chip with the buffer memory 206to be interfaced with the peripheral circuit so that the difference inthe data transfer rate between the internal unit 204 of the CPU and theoutside can be internally absorbed to prevent any sequential standbybetween the time periods for processing the read data and the write databy the access request.

(4) The data transfer type according to the foregoing embodiment can bewidely interpreted to give a bus right to the memory if locallyconsidered. Specifically, it is thought that the system operates withthe operation clock 209 of the CPU 2 at the start of the data transferbut with the operation clock 103 of the memory during the data transfer,and the but right seems to be dynamically transferred. This concept isthought to have an effective meaning especially when the degree ofintegration of the LSI is improved in the future so that the logicfunction merges into the memory.

FIG. 5 is a block diagram showing one embodiment of the aforementionedmemory. The memory 1, as shown in FIG. 5, is formed as a static randomaccess memory (i.e., SRAM) over one semiconductor substrate made ofsingle crystalline silicon by the well-known semiconductor integratedcircuit manufacturing technique, although not especially limitedthereto.

The shown memory 1 includes input terminals ARO to ARm of a row addresssignal; input terminals ACO to ACn of a column address signal; datainput/output terminals I/O0 to I/Op; a chip select signal input terminalCS; an output enable signal input terminal OE; a write enable signalinput terminal WE; an access cycle signal output terminal AC; aburst/single change signal input terminal B/S; and a supply terminal(not shown). In connection with FIG. 1: the chip select signal inputterminal CS is fed with the access start signal 200; the output enablesignal input terminal OE is fed with a read signal composing the read/write signal 201; the write enable signal input terminal WE is fed witha write signal composing the read/ write signal 201; and the accesscycle signal 103 is outputted from the access cycle signal outputterminal AC.

The memory cell array 100 includes static memory cells arranged in amatrix, whose select terminals are connected through word lines to theoutputs of a row address decoder 110. This row address decoder 110receives and decodes the internal complementary address signal, which isconverted from the row address signal fed from the out side and areoutputted from a row address buffer 111, to drive one word correspondingto the row address signal, to a select level. The bit lines connected tothe data input/output terminals of the memory cells are commonlyconnected with a common data line 113 through a column switch circuit112. The selection of the bit line to be connected to the common dataline 113 is accomplished by the column switch circuit 112 in response tothe output of a column address decoder 114. This column address decoder114 receives and decodes the internal complementary address signal,which is converted from the column address signal fed from the outsideand is outputted from a column address buffer 115, to select the bitline by the column switch circuit 112. Reference numeral 116 designatesa sense amplifier and an output buffer circuit for amplifying the dataread from the memory cells to the common data line 113 and outputtingthe amplified data to the outside. The sense amplifier and output buffercircuit have their input connected to the common data line 113 and theiroutput connected to the data input/output terminals I/O0 to I/Op.Numeral 117 designates an input buffer for inputting the write data fedto the data input/output terminals I/O0 to I/O, and the input buffer 117has its output connected to the common data line 113. Numeral 118designates either latch circuit or a data control circuit for equalizingor precharging the common data line.

The access control unit 101 is equipped with a cycle timing generator1010 and an internal timing generator 1011. This internal timinggenerator 1011 is connected to the input terminals CS, OE, WE and B/S todetermine the internal operation mode by detecting the access start,deciding the read/write operation and deciding the burst mode/singlemode, to produce an internal operation timing signal corresponding tothe operation mode in synchronism with the access cycle signal fed fromthe cycle timing generator 1010. On the basis of the instruction of theaccess start signal fed from the CS terminal, the cycle timing generator1010 produces a cycle timing signal 1013 and the access clock signal 103in synchronism with the signal fed from the internal timing generator1011 on the basis of the output signal from the self-excited oscillator102. Incidentally, a delay circuit 1014 is used to adjust the phase ofthe self-excited oscillating output, and a delay circuit 1015 is used tomatch the phases of the access clock signal 103 outputted from theoutside and the cycle timing signal 1013.

FIG. 6 shows one detailed example of the cycle timing generator 1010.The self-excited oscillator 102 has a feedback loop composed of atwo-input AND gate 1020 and an inverter amplifier 1021 for feeding backthe output of the AND gate 1020 to one of the inputs of the same ANDgate 1020, although not especially limited thereto, and a trigger forcontrolling the oscillation and its stop is connected with the otherinput of the AND gate 1020. The trigger circuit is equipped with an ANDgate 1024, to which is inputted the output of a selector 1022 to be setto a high level at an initial state and to which is fed back the outputof an OR gate 1023. This OR gate 1023 receives both the output of theAND gate 1024 and a trigger signal 1025 such as a one-shot pulse to befed in synchronism with the read or write operation from the internaltiming generator 1011, and feeds its output to the AND gate 1020.Incidentally, reference numerals 1026 to 1028 designate waveform shapingelements (or delay elements). This self-excited oscillator 102 outputs alow level in the initial state. When the trigger signal 1025 is changedin this state by the one-shot pulse, oscillations are established in thefeedback loop which is composed of the AND gate 1020 and the inverteramplifier 1021. This oscillating state is continued till the output ofthe selector 1022 is changed into pulses at the low level to set theoutput of the OR gate 1023 to the low level.

In the construction of FIG. 6, the burst counter 105 and the selector1022 are used to stop the oscillator. The selector 1022 is fed witheither the B/S signal or an equivalent internal signal to select theoutput of the waveform shaping element 1027 in the single mode. Thus, inthe single mode, the self-excited oscillator 102 stops the oscillatingoperation by changing the access clock signal 103 and the cycle timingsignal 1013 by one cycle. In the burst mode, the output of the burstcounter 105 is selected. This burst counter 105 counts the number ofdata words read continuously from the memory cell array on the basis ofthe change in the output pulses of the waveform shaping element 1027,and outputs a one-shot pulse which will change from the high level tothe low level such that the counted result reaches a predetermined value(i.e., a target number of words for burst transfer). As a result, theoscillating operation of the self-excited oscillator 102 is stopped whenthe access cycle corresponding to the target number of words in theburst mode is established.

FIG. 7 shows one example of the operation timing chart of the memory ofFIG. 6. As shown, in the read cycle, the access cycle signal outputterminal AC is changed in synchronism with the timing at which the readdata is outputted. In the write cycle, on the other hand, the write datais fed from the CPU in synchronism with the timing at which the accesscycle signal output terminal AC is changed.

FIG. 8 is a block diagram showing one detailed embodiment of the CPU 2.The CPU 2, as shown, is formed on a semiconductor substrate made ofsingle-crystal silicon, by the well-known semiconductor integratedcircuit manufacturing technique, although not limited thereto. The samecircuit blocks as those of FIG. 1 are designated at the same referencecharacters, and their detailed description will be omitted. Here, thebuffer memory 206 will be described in detail.

The buffer memory 206 is composed of a read buffer 2061, a write buffer2062 and a buffer control circuit 2063 of the FIFO (i.e., First-INFirst-Out) type. The read buffer 2061 is dedicated to the data transferin the read direction by the CPU, and the write buffer is dedicated tothe data transfer in the write direction by the CPU. Both buffers 2061and 2062 are equipped with an asymmetric port 2064 to be controlled onthe basis of a request fed from the memory 1 in response to the accessclock signal 103; and a synchronous port 2065 to be controlled insynchronism with the internal operation clock 209. The buffer controlcircuit 2063 is equipped with an asynchronous control unit 2063A forcontrolling the asynchronous port 2064; and a synchronous control unit2063B for controlling the synchronous port 2065. The asynchronous port2064 is connected to the input/output buffer circuit 205, and thesynchronous port 2065 can be interfaced with the register group, thecache memory and so on contained in the arithmetic circuit 204.

The asynchronous control unit 2063A feeds the write buffer 2062 with theasynchronous read signal for instructing the read operation and theasynchronous read address (or pointer) of that time, in synchronism withthe aforementioned change in the access clock signal 103. In synchronismwith this change in the access clock signal 103, moreover, the readbuffer 2061 is fed with the asynchronous write signal for instructingthe write signal and the asynchronous write address (or pointer) of thattime. A choice between the read buffer 2061 and the write buffer 2062 tobe accessed in synchronism with the change in the access clock signal103 depends on the information from the central control unit 208indicating whether the CPU 2 requests reading or writing correspondingto the access clock signal 103.

The synchronous control unit 2063B is operated as a part of theinstruction execution control in the central control unit 208. When thememory read operation is required according to the execution of a datatransfer instruction such as a load instruction, a store instruction ora move instruction, the read buffer 2061 is fed with the synchronousread signal for instructing the read operation and the synchronous readaddress (or pointer) of that time, in synchronism with the operationclock 209. When the memory write operation is required according to theexecution of the data transfer instruction, on the other hand, the writebuffer 2062 is fed with the synchronous write signal instructing thewrite operation and the synchronous write address (or pointer) of thattime, in synchronism with the operation clock 209. A choice between theread buffer 2061 and the write buffer 2062 to be accessed depends on theinstruction decoding signal outputted from the central control unit 208in accordance with the instruction execution.

The memory 1 of the example of FIG. 8 does not have the function ofproducing the cycle complete signal 104. A similar function is executedby a burst counter 2066, in the asynchronous control unit 2063A to feedthe burst transfer cycle complete to the access control circuit 207. Inthe CPU 2 of the present embodiment, the count-up signal of the burstcounter 2066 is also used for informing the central control unit 208 ofthe write complete in the read buffer 2061 and the read complete fromthe write buffer 2062. This operation will be described with referenceto FIG. 9.

FIG. 9 is a detailed block diagram of one example of a circuit portionrelating to the read buffer 2061 in the buffer control circuit 2063. Thesynchronous read address of the read buffer 2061 is produced by anupcounter 2063R1, and the asynchronous write address of the read buffer2061 is produced by an upcounter 2063R2. The upcount operation of theupcounter 2063R2 is performed in synchronism with the timing at whichthe access clock signal 103 is changed to the high level and at whichthe read buffer write signal from the central control unit 208 isactivated. The up count operation of the upcounter 2063R1 is performedin synchronism with the operation clock 209 when the read buffer readsignal from the central control unit 208 is activated. Both theupcounters 2063R1 and 2063R2 are cleared to 0 by the high-level outputof the AND gate 2063R3. It is the clearing timing when the outputs ofboth the upcounters 2063R1 and 2063R2 is detected by a coincidencedetector 2063R6 in case the output value of the upcounter 2063R1 is not0. It is detected by a 0 detector 2063R4 that the output value of theupcounter 2063R1 is 0. In case the output value of the upcounter 2063R1is 0, the 0 detection result by the 0 detector 2063R4 means the vacancyof the read buffer 2061 and is fed to the central control unit 208. Ifthis state is detected, the central control unit 208 can confirm thatthe read data from the memory 1 has been wholly transferred to thearithmetic circuit 204. The bust counter 2066, as shown in FIG. 8,detects whether or not the given number of continuous data wordstransferred is reached. When this number of words is reached, the outputof the burst counter 2066 is changed to the high level for apredetermined time period. In the read operation of the memory 1, thechange of the output from the burst counter 2066 is fed as a signalmeaning the read complete to an AND gate 2063R5. This AND gate 2063R5detects the read complete of the read buffer 2061, when it receives thesignal meaning the read complete if it is detected by the 0 detector2063R4 that the output of the upcounter 2063R1 is not 0, and transfersthe detected read complete to the central control unit 208. When theread complete of the read buffer 2061 is detected, the central controlunit 208 can confirm that the read data from the memory 1 is whollylatched in the read buffer 2061 so that the central control unit 208 canread the read data from the read buffer 2061 to start the internalarithmetic operation instantly.

FIG. 10 is a detailed block diagram of one example of a circuit portionrelating to the write buffer 2062 in the buffer control circuit 2063.The synchronous write address of the write buffer 2062 is produced by anupcounter 2063W2, and the asynchronous write address of the write buffer2062 is produced by an upcounter 2063W1. The upcount operation of theupcounter 2063W1 is performed in synchronism with the timing at whichthe access clock signal 103 is changed to the high level and at whichthe write buffer write signal from the central control unit 208 isactivated. The upcount operation of the upcounter 2063W2 is performed insynchronism with the operation clock 209 when the write buffer writesignal from the central control unit 208 is activated. Both theupcounters 2063W1 and 2063W2 are cleared to 0 by the high-level outputof the AND gate 2063W3. It is the clearing timing when the outputs ofboth the upcounters 2063W1 and 2063W2 is detected by a coincidencedetector 2063W6 in case the output value of the upcounter 2063W1 is not0. It is detected by a 0 detector 2063W4 that the output value of theupcounter 2063W1 is 0. In case the output value of the upcounter 2063W1is 0, the 0 detection result by the 0 detector 2063W4 means the vacancyof the write buffer 2062 so that the central control unit 208 recognizesthe vacant state of the write buffer 2062. In the write operation of thememory 1, the change of the burst counter 2066 to the high level is fedas a signal meaning the write complete to an AND gate 2063W5. This ANDgate 2063W5 detects the write complete of the write buffer 2062, when itreceives the signal meaning the write complete if it is detected by the0 detector 2063W4 that the output of the upcounter 2063W1 is not 0, andtransfers the detected write complete to the central control unit 208.When the write complete of the write buffer 2062 is detected, thecentral control unit 208 can confirm that the write data to the memory 1in response to the response request from the memory is wholly outputtedfrom the write buffer 2062.

FIG. 11 shows a buffer memory different from the buffer memory 206 shownin FIG. 8. The buffer memory 206, as shown, is equipped with a read/write buffer 2067 which is shared between the read buffer 2061 and thewrite buffer 2062. The buffer control circuit 2063 is equipped with aread/ write buffer enable flag 2068 which is set with the informationconcerning which of the read buffer or the write buffer the read/ writebuffer 2067 is to be operated as. The operation of the read/ writeenable flag 2068 is controlled according to the instruction coming fromthe central control unit 208. The remaining points are similar to thoseof FIG. 8, and their detail description will be omitted by designatingthe same circuit blocks at the same reference characters. Thisconstruction contributes to a reduction of the chip area.

FIG. 12 shows an essential portion of an embodiment having a controlparameter register in place of the memory of FIG. 5. Specifically, thereis provided a parameter register 1051 for latching in a preset tablemanner the target number of the continuous data words to be counted bythe burst counter 105 of FIG. 6. This parameter register 1051 iscontrolled by the central control unit 208 of the CPU 2 to transfer adesired parameter (i.e., the information for specifying the number ofwords for a burst transfer) in a programmable manner. The remainingconstructions are similar to those of FIGS. 5 and 6, and the detaileddescription will be omitted by designating the same circuit blocks atthe same reference characters. This raises the degree of freedom of datatransfer and the flexibility of the control. Incidentally, the parameterregister 1051 can be exemplified by constructing memory stages in apresettable manner in case the memory stages correspond to the number ofcounted bits.

FIG. 13 shows an embodiment which has a multi-bit input/output functionof ½n bits, for example, for the bit number of the data bus to establishan interface between the same memory and the CPU 2. In this embodiment,the CPU 2 is equipped with a plurality of sets of buffer memories 206and input/output buffer circuits 205. In case the data bus 211 has 32bits whereas the memory 1 has 16 parallel input/output bits, the moresignificant data bus 211U of 16 bits is coupled through an input/outputbuffer circuit 205U to one memory 1U, whereas the less significant databus 211L is coupled through an input/output buffer 205L to the othermemory 1L. The access start signal 200, the read/ write signal 201, thesingle/ burst signal 202 and the address bus 210 are commonly connectedwith the memories 1U and 1L. An access clock signal 103U is connectedwith a buffer memory 206U whereas an access clock signal 103L isconnected with a buffer memory 206L. Cycle complete signals 104U and104L are respectively outputted from the memories 1U and 1L and fed to acycle complete control circuit 2069 to transmit the memory accesscompletes of the two to the access control circuit 207.

The number of parallel input/output bits of the actual memory may be ×4,×8, ×9, ×16 or ×18, and the number of parallel data input/output bits ofthe CPU may be ×16, ×32, ×36, ×64 or ×72. In order to interface thememory and the CPU in a corresponding manner, it is necessary andimportant to provide every bits with the buffer memory, as shown in FIG.13.

FIG. 14 shows an embodiment of the case in which memories havingdifferent characteristics/functions are mixed to construct the system.In this case, the data transfer can be achieved basically in conformityto an access clock if fine terminal functions or connection conditionsare ignored. Thus, an access clock signal 103-1 of a memory 1-1 and anaccess clock signal 103-2 of a memory 1-2 are coupled through an OR gate300 to the buffer control circuit 2063 outside the CPU 2. Likewise, anaccess complete signal 104-1 of the memory 1-1 and an access completesignal 104-2 of the memory 1-2 are coupled through an OR gate 301 to theaccess control circuit 207 outside the CPU 2. The remaining access startsignal 200, read/ write signal 201, single/ burst signal 202, addressbus 210 and data bus 211 are commonly connected with the memories 1-1and 1-2. As a result, the peripheral circuits such as the memorieshaving the different characteristics/functions can be mixed to constructthe system.

FIG. 15 shows one overall embodiment of a data processing system usingthe CPU 2 and the memory 1, as described in the foregoing embodiments.As the peripheral circuits-enabled to perform the data transfer by aprotocol similar to that of the memory (e.g., RAM) 1 of the foregoingembodiments, as shown in FIG. 15, there are provided a memory (e.g.,ROM) 3; a file control unit 4 to be interfaced with a hard disk drive 41and a floppy disk drive 42; a display control unit 5 for controlling thedrawing of a frame buffer 51 and the display of the drawn data on amonitor 52; a parallel/serial port 6 to be interfaced with a printer 61and a keyboard 62; and a communication unit 10 for transferring datathrough an antenna and a cable. These peripheral circuits have their ownself-excited oscillators 102 according to their operatingcharacteristics so that the data transfer is realized by returningresponse requests in response to the access requests from the CPU 2 asin the memory. In FIG. 15, reference numeral 9 designates a systemmonitor unit for monitoring a system malfunction and the status of thesupply voltage by means of a watchdog timer. A fast data transfer unit 8is a circuit such as a direct memory access controller, and the busarbitration with the CPU 2 is accomplished by the bus arbitrator 7. Thefast data transfer unit 8 performs the data transfer control like thatof the CPU 2. Numeral 21 designates an external cache memory intrinsicto the CPU 2 to act as a secondary cache memory for a cache memory 22 inthe CPU 2. The data processing system of FIG. 15 is constructed over apackaging board which is formed with address/data buses 11 and a controlbus 12.

Since the data processing system of FIG. 15 requires no wait statecontrol for the memories or input/output circuits, neither a memorycontroller nor an input/output controller is formed on the substrate.

Although our invention has been specifically described in connectionwith its embodiments, it should not be limited thereto but can naturallybe modified in various manners without departing from the gist thereof.

For example, the foregoing embodiments have been described in case theperipheral circuit is exemplified by the memory such as the RAM.However, the peripheral circuit should not be limited thereto but can beapplied not only to the peripheral circuit shown in FIG. 15 but also toa variety of other peripheral circuits. Moreover, the application ofsuch peripheral circuit can cover not only a CPU or a direct memoryaccess controller but also a variety of data processors such as amicroprocessor, a microcomputer, a single-chip microcomputer or adigital-signal processor.

On the other hand, the buffer memory should not be limited to theperfect dual port buffer as in the foregoing embodiment but can be usedas if it acts as a dual port for operating a uni-port buffer memory in atime sharing manner. From the standpoint of the chip area of the dataprocessor, on the other hand, the depth (or storage capacity) of thebuffer memory is important, but the much inferior function will have theless contribution to the improvement in the bus rate. Thus, this belongsto the design item which is determined by considering the trade-off fromthe cost performance. Incidentally, the depth of the buffer memory isthought to aid in simplification of the buffer control circuit if it isrestricted to the number of words to be handled by a data transfer ofone time (i.e., the maximum number of words of the burst transfer).

The effects to be obtained by the representative of the inventiondisclosed herein will be briefly described in the following.

Specifically, the peripheral circuit is operated in synchronism with theoutput signal from its own self-excited oscillator and asynchronously ofthe operation clock signal of the data processor which sends an accessrequest to that peripheral circuit.

In this relation, the interface between their data is realized themutually equivalent access requests and the response requests inresponse to the access request. As a result, a series of data transfertime periods, which have been limited in the prior art to an integertimes as high as the fundamental operation clock of the data processor,can be determined according to the clock cycle of the response requestdepending upon the self-excited oscillation frequency which is producedaccording to the characteristics such as the operating speed of theperipheral circuit such as the memory.

From the above discussion, it is easy to realize the data transfer forthe limit time periods of the individual characteristics of theperipheral circuit and the data processor. In other words, it ispossible to reduce the unnecessary time period spent for synchronizationwith the operation clock of the data processor, as has been troubled inthe prior art.

From the above discussion, moreover, the wait state control circuit forthe interface between the data processor and each of the peripheralcircuits can be dispensed with to simplify the circuit connecting means.

The data processor equipped on the common chip with the buffer memory tobe interfaced with the peripheral circuit can internally absorb thedifference in the data transfer rate between the internal unit of thedata processor and the outside to shorten the time period for thesequential standby in the processing of the read data and the write databy the access request.

Thus, the data processing system can be freely constructed byinterfacing the data processor with a plurality of peripheral circuitsof different kinds and by interfacing mutually identical peripheralcircuits having a multi-bit input/output functions of ½n bits for thebit number of the data bus with the data processor.

1.-13. (canceled)
 14. A semiconductor circuit device for controlsemiconductor memory devices arranged for external of the semiconductorcircuit device, comprising: a clock terminal which receives an clocksignal to be operated the semiconductor circuit device synchronously;address terminals which outputs a plurality of address signals to thesemiconductor memory device; data terminals which receives data signalsfrom the semiconductor memory device; control terminals which outputscontrol signals which requests to outputting the data signals of thesemiconductor memory device; and timing terminal which receives timingsignals from the semiconductor memory devices; wherein the clockterminal, the address terminals, the data terminals, the controlterminals and the timing terminal are coupled to the semiconductormemory devices, wherein the timing signal is asynchronously from theclock signals, and wherein the data signals are latched in synchronismwith the timing signal.
 15. A semiconductor circuit device according toclaim 14, wherein the semiconductor memory devices are random accessmemory or read only memory.
 16. A semiconductor circuit device accordingto claim 15, wherein the semiconductor memory devices are random accessmemory devices which has a continuous data output function.
 17. Asemiconductor circuit device according to claim 14, wherein thesemiconductor circuit device outputs data signals to be received thesemiconductor memory devices in synchronism with the timing signal fromthe semiconductor memory devices.
 18. A semiconductor circuit deviceaccording to claim 14, wherein the control signal are outputted insynchronism with the clock signal.